<form id="<?php echo UserSignupForm::FORM_NAME; ?>" action="<?php echo url_for('@signup'); ?>" method="POST">
  <h1>Sign Up</h1>
  <div class="content_wrp">
    <?php if ($sf_request->hasParameter('success')) : ?>
    <div class="clear sucess_box radius">
      <p>Your account has been created.</p>
    </div>
    <div>
      <div class="frmbox_fl">
        <div class="clear">
          <input name="" type="button" value="&laquo; Sign In" class="btn gray" onclick="document.location='<?php echo url_for('@signin'); ?>'">
        </div>
      </div>
    </div>
    <?php else : ?>
      <?php echo include_partial('global/errorsList', array('forms' => array($form), 'global' => $errorCollector)); ?>

    <!--
    <div class="text_con">
      <p>Lorem ipsum dolor sit amet consectetuer gravida cursus ligula et enim. Ac sapien Pellentesque rhoncus odio orci mauris Aenean magnis pede congue. Ut eget ut dictum tincidunt consectetuer.  Lorem ipsum dolor sit amet consectetuer gravida cursus ligula et enim. Ac sapien Pellentesque rhoncus odio orci mauris Aenean magnis pede congue. </p>
      <p>Ut eget ut dictum tincidunt consectetuer. Lorem ipsum dolor sit amet consectetuer gravida cursus ligula et enim.
        Ac sapien Pellentesque rhoncus odio orci mauris Aenean magnis pede congue. </p>
    </div>
    -->
    
    <h3>Account information</h3>
    <div class="clearfix">
      <div class="frmbox left">
        <label class=" clear"><?php echo $form[UserSignupForm::FIELD_EMAIL]->renderLabel(); ?><span class="important">*</span></label>
          <?php echo $form[UserSignupForm::FIELD_EMAIL]->render(array('class' => 'txtfeid_01 clear', 'tabindex' => 1)); ?>
        <p class="info left">What's your email address? This will be your username for Supertain account.</p>
      </div>
    </div>

    <div class="clearfix">
      <div class="frmbox left">
        <label class=" clear"><?php echo $form[UserSignupForm::FIELD_PASSWORD]->renderLabel(); ?><span class="important">*</span></label>
          <?php echo $form[UserSignupForm::FIELD_PASSWORD]->render(array('class' => 'txtfeid_01 clear', 'tabindex' => 2)); ?>
        <p class="info left">6 characters or more! Be tricky.</p>
      </div>
      <div class="frmbox left">
        <label class="left"><?php echo $form[UserSignupForm::FIELD_CONFIRM_PASSWORD]->renderLabel(); ?><span class="important">*</span></label>
          <?php echo $form[UserSignupForm::FIELD_CONFIRM_PASSWORD]->render(array('class' => 'txtfeid_01 clear', 'tabindex' => 3)); ?>
        <p class="info clear">Just to confirm you made no mistake.</p>
      </div>
    </div>


    <h3>Personal information</h3>
    <div class="clearfix">
      <div class="frmbox left">
        <label class=" clear"><?php echo $form[UserSignupForm::FIELD_FIRST_NAME]->renderLabel(); ?><span class="important">*</span></label>
          <?php echo $form[UserSignupForm::FIELD_FIRST_NAME]->render(array('class' => 'txtfeid_01 clear', 'tabindex' => 4)); ?>
        <p class="info left">What's your first name?</p>
      </div>
      <div class="frmbox left">
        <label class="left"><?php echo $form[UserSignupForm::FIELD_LAST_NAME]->renderLabel(); ?><span class="important">*</span></label>
          <?php echo $form[UserSignupForm::FIELD_LAST_NAME]->render(array('class' => 'txtfeid_01 clear', 'tabindex' => 5)); ?>
        <p class="info clear">What's your last name?</p>
      </div>
    </div>

    <div class="clearfix">
      <div class="frmbox left">
        <label class=" clear"><?php echo $form[UserSignupForm::FIELD_ADDRESS]->renderLabel(); ?></label>
          <?php echo $form[UserSignupForm::FIELD_ADDRESS]->render(array('class' => 'txtfeid_01 clear', 'tabindex' => 6)); ?>
        <p class="info left"></p>
      </div>
      <div class="frmbox left">
        <label class="left"><?php echo $form[UserSignupForm::FIELD_CITY]->renderLabel(); ?></label>
          <?php echo $form[UserSignupForm::FIELD_CITY]->render(array('class' => 'txtfeid_01', 'tabindex' => 7)); ?>
        <p class="info clear"></p>
      </div>
    </div>

    <div class="clearfix">
      <div class="frmbox left">
        <label class="clear"><?php echo $form[UserSignupForm::FIELD_STATE_ID]->renderLabel(); ?></label>
          <?php echo $form[UserSignupForm::FIELD_STATE_ID]->render(array('class' => 'txtfeid_01', 'tabindex' => 8)); ?>
        <p class="info clear"></p>
      </div>
      <div class="frmbox left">
        <label class=" left"><?php echo $form[UserSignupForm::FIELD_POST_CODE]->renderLabel(); ?><span class="important">*</span></label>
          <?php echo $form[UserSignupForm::FIELD_POST_CODE]->render(array('class' => 'txtfeid_01 clear', 'tabindex' => 9)); ?>
        <p class="info left"></p>
      </div>
    </div>

    <div class="clearfix">
      <div class="frmbox left">
        <label class="clear"><?php echo $form[UserSignupForm::FIELD_PHONE]->renderLabel(); ?></label>
          <?php echo $form[UserSignupForm::FIELD_PHONE]->render(array('class' => 'txtfeid_01 clear', 'tabindex' => 10)); ?>
        <p class="info clear"></p>
      </div>
      <div class="frmbox left">
        <label class="left"><?php echo $form[UserSignupForm::FIELD_GENDER]->renderLabel(); ?></label>
          <?php echo $form[UserSignupForm::FIELD_GENDER]->render(array('tabindex' => 11)); ?>
        <p class="info clear"></p>
      </div>
    </div>

    <div class="clearfix">
      <div class="frmbox left">
        <label class=" clear"><?php echo $form[UserSignupForm::FIELD_DATE_OF_BIRTH]->renderLabel(); ?></label>
          <?php echo $form[UserSignupForm::FIELD_DATE_OF_BIRTH]->render(array('class' => 'txtfeid_02', 'tabindex' => 12)); ?>
        <p class="info left"></p>
      </div>
      <div class="frmbox left">
        
      </div>
    </div>

    <div class="clearfix">
      <div class="frmbox left">
        <label class=" clear"><?php echo $form[UserSignupForm::FIELD_CINEMA]->renderLabel(); ?></label>
          <?php echo $form[UserSignupForm::FIELD_CINEMA]->render(array('class' => 'txtfeid_01', 'tabindex' => 13)); ?>
        <p class="info left"></p>
      </div>
      <div class="frmbox left">
        
      </div>
    </div>

    <div class="clearfix">
      <div class="frmbox left">
        <label class=" clear"><?php echo $form[UserSignupForm::FIELD_MOVIE_PREFERENCE]->renderLabel(); ?></label>
        <?php foreach (UserSignupForm::$moviePreferences as $key => $val) : ?>
          <?php echo $form[UserSignupForm::FIELD_MOVIE_PREFERENCE . '_' . $key]->render(); ?> <label style="font-size: 15px;" for="<?php echo UserSignupForm::FORM_NAME; ?>_<?php echo UserSignupForm::FIELD_MOVIE_PREFERENCE; ?>_<?php echo $key; ?>"><?php echo $val; ?></label><br />
        <?php endforeach; ?>
        <p class="info left"></p>
      </div>
      <div class="frmbox left">
        <label class="clear">Security Check<span class="important">*</span></label>
          <?php echo recaptcha_get_html(sfConfig::get('app_recaptcha_api_key_public'));?>
        <p class="info left">Let's make sure you're a human!</p>
      </div>
    </div>

    <div class="frmbox_fl left">
      <div class="clear termcondition">
        <?php echo $form[UserSignupForm::FIELD_ALERT_LAUNCH]->render(); ?> <?php echo $form[UserSignupForm::FIELD_ALERT_LAUNCH]->renderLabel(); ?>
      </div>
      <div class="clear termcondition">
        <?php echo $form[UserSignupForm::FIELD_ALERT_DEALS]->render(); ?> <?php echo $form[UserSignupForm::FIELD_ALERT_DEALS]->renderLabel(); ?>
      </div>
      <input name="" type="submit" value="Create my account" class="btn blue"/>
    </div>

    <div class="clearfix">
      <p class="info clear text_con">
        <label style="font-size: 14x;">By signing up you agree to our <a href="<?php echo url_for('@terms'); ?>">Terms of Use</a></label>
      </p>
    </div>
    <?php endif ; ?>
  </div>
  <?php echo $form['_csrf_token']->render(); ?>
</form>